package com.taichuan.selfcheck.eventbus;

public class ReadSenseTemperatureValueEvent {
    private float tempValue;

    public ReadSenseTemperatureValueEvent(float tempValue) {
        this.tempValue = tempValue;
    }

    public float getTempValue() {
        return tempValue;
    }

    public int getIntTempValue(){
        return (int) (tempValue*10);
    }

    @Override
    public String toString() {
        return "ReadSenseTemperatureValueEvent{" +
                "tempValue=" + tempValue +
                '}';
    }
}
